package com.framework.loippi.dao;

import com.framework.loippi.entity.DoctorWork;
import com.framework.loippi.mybatis.dao.GenericDao;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * DAO - DoctorWork(医生坐班表)
 * 
 * @author wmj
 * @version 2.0
 */
public interface DoctorWorkDao  extends GenericDao<DoctorWork, Long> {
	List<DoctorWork> findListByPage(Object parameter);
        Long deletes(Object parameter);

    List<DoctorWork> findWorkByDoctorId(Integer departmentId);

    List<String> findSubscribeTime(@Param(value="workDate") Date subDate, @Param(value="doctorId")Integer doctorId);
}
